package com.hzit.loan.pay.service.impl;

import com.hzit.loan.pay.commonApi.resp.PayResultData;
import com.hzit.loan.pay.commonApi.resp.RespVo;
import com.hzit.loan.pay.model.PaySerial;
import com.hzit.loan.pay.service.IPayStrategyService;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.stereotype.Service;

/**
 * 网银支付接口
 */
@Service
public class IcbcB2cPayImpl implements IPayStrategyService, InitializingBean {


    @Override
    public RespVo<PayResultData> pay(PaySerial paySerial) {
        // 接口对接

        String tranDataXml = new StringBuffer()
                .append("<?xml version=\"1.0\" encoding=\"GBK\" standalone=\"no\"?>")
                .append("<B2CReq>")

                    .append("")

                .append("</B2CReq>")

                .toString();



//        return  返回form表单

        return null;


    }

    @Override
    public void afterPropertiesSet() throws Exception {

    }
}
